import React, {Component} from 'react';
import {NavLink} from 'react-router-dom';
import "./signInPage.css";

class SignIn extends Component {
    render() {
        return (
            <div className="signIn_box">
                <h3>用户登录</h3>
                <div className="login_input_box">
                    <input type="text" placeholder="  用户名" className="signIn_username"/><br/>
                    <a href="/resetting">
                        <small className="forget_password">忘记密码</small><br/>
                    </a>

                    <input type="password" placeholder="  密码" className="signIn_password"/><br/>
                </div>


                <NavLink to='/'>
                    <button className="signIn_submit_btn">登录</button>
                </NavLink><br/>
                <NavLink to='/register'>
                    <button className="toRegister_btn">前往注册</button>
                </NavLink>
            </div>
        );
    }
}

export default SignIn;